import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import '@/style/index.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as icons from '@element-plus/icons-vue'
// console.log("当前环境配置=>", import.meta.env);

const app = createApp(App)
for (const [key, component] of Object.entries(icons)) {
    app.component(key, component)
}

app.use(createPinia())
    .use(router)
    .use(ElementPlus, { size: 'small' })
    .mount('#app')
